myList = [1,9,7,[4,8,3]]
for m in myList:
    if isinstance(m,list):
        for n in m:
            print(n)
    else:
        print(m)